<link rel="stylesheet" href="__STATIC__/model_style/default/kefu/kefu.css">
<script LANGUAGE="JavaScript" src="__STATIC__/model_style/default/kefu/kefu.js"></script>
<div class="main-im">
  <div id="open_im" class="open-im">&nbsp;</div>  
  <div class="im_main" id="im_main">
    <div id="close_im" class="close-im"><a href="javascript:void(0);" title="点击关闭">&nbsp;</a></div>
    <a href="javascript:KF.callKefu();" class="im-qq qq-a" title="在线客服">
    <div class="qq-container"></div>
    <div class="qq-hover-c"><img class="img-qq" src="__STATIC__/model_style/default/kefu/kefu.png"></div>
    <span>网页即时交流</span> </a>
    <div class="im-tel">
      <div class="tel-num" id="kefu_uid"><a href="javascript:KF.chat_win(1);"><i class="fa fa-commenting"></i> 客服MM </a></div> 
      <div>QQ咨询</div>
      <div class="tel-num" id="kefu_qq"><a href="https://wpa.qq.com/msgrd?v=3&uin=860923125&site=qq&menu=yes" title="在线QQ客服" target="_blank">81684210</a></div>
      <div>咨询热线</div>
      <div class="tel-num" id="kefu_tel">{$webdb.service_tel}</div>
    </div>
    <div class="im-footer" style="position:relative">
      <div class="weixing-container">
        <div class="weixing-show">
           <div class="weixing-txt">微信扫一扫<br>加客服微信</div>
          <img class="weixing-ma" src="">
          <div class="weixing-sanjiao"></div>
          <div class="weixing-sanjiao-big"></div>
        </div>
      </div>
      <div class="go-top"><a href="javascript:;" title="返回顶部"></a> </div>
	 <div style="clear:both"></div>
    </div>
  </div>
</div>
{qb:tag name="pc_kefu001" type="myform" time="-1" conf="model_style/default/kefu.php"}
<!--
{:fun('kefu@init')}
-->
<script type="text/javascript">
{if $_cfg.show_type}
	setTimeout(function(){
		$(".open-im").trigger("click");
		$('.weixing-show').hide();
	},500);
{/if}

{if $_cfg.weixin}
	$(".weixing-ma").attr("src","{$_cfg.weixin|tempdir}");
{/if}

{if $_cfg.qq}
	var v_array = [];
	{volist name=":str_array($_cfg.qq)" id="num"}
		v_array.push('<a href="https://wpa.qq.com/msgrd?v=3&uin={$num}&site=qq&menu=yes" title="在线QQ客服" target="_blank">{$num}</a>');
	{/volist}
	$("#kefu_qq").html(v_array.join('<br>'));
{/if}

{if $_cfg.tel}
	var v_array = [];
	{volist name=":str_array($_cfg.tel)" id="num"}
		v_array.push('{$num}');
	{/volist}
	$("#kefu_tel").html(v_array.join('<br>'));
{/if}


{if $_cfg.kefu}
	var v_array = [];
	{volist name=":str_array($_cfg.kefu)" id="uid"}
		v_array.push('<a href="javascript:KF.chat_win({$uid});"><i class="fa fa-commenting"></i> {:get_user($uid)["nickname"]} </a>');
	{/volist}
	$("#kefu_uid").html(v_array.join('<br>'));
{/if}
</script>
{:fun('kefu@init',$_cfg['kefu'])}
{/qb:tag}

{if LABEL_SET===true}
<div style="font-size:20px;">客服设置</div>
<script type="text/javascript">
$(function(){
	$(".main-im").prepend($("#pc_kefu001").get(0).outerHTML);
});
</script>
{/if}